package groovy.sample.userguide.closure

class ClosureAcceptor {
	def accept1(Closure c) {
		c("accept1")
	}
	
	def accept2(String suffix, Closure c) {
		c("accept2-$suffix")
	}
	
	def accept3(Closure c1, Closure c2) {
		c1("accept3-1")
		c2("accept3-2")
	}
}
